<template>
	<view>
		
		<div class="col_center wrap">
			<image src="../../static/img/net_error_icon.png" mode="widthFix"></image>
			<span>网络请求失败～</span>
			
			<div class="btn" @click="reload">重新加载</div>
		</div>
		
	</view>
</template>

<script>
	import { BASE_IMAGE_URL,saveAddress,region,addressManage } from '@/utils/api'
	
	
	export default {
		data() {
			return {
			}
		},
		methods:{
			reload(){
				uni.getNetworkType({
				    success: function (res) {
				        console.log(res.networkType);
						if(res.networkType != 'none'){
							uni.navigateBack()
						}else{
							uni.showToast({
							  icon: 'none',
							  title: '请检查网络',
							  duration: 1000
							});
						}
				    }
				});
				
			}
		},
		onLoad() {
			
		}
	}
</script>

<style>

page {
      background-color: #F8F8F8;
    }
.wrap{margin-top: 185upx; color: #666666; font-size: 28upx; }
.wrap image{width: 360upx;}

.btn{height: 94upx; line-height: 94upx; width: 236upx; background: #FFCA0A; border-radius: 12upx;
text-align: center; color: #303030; font-size: 36upx; margin-top: 70upx;font-weight: bold;}
</style>
